#ifndef ROLE_H
#define ROLE_H

#include <stdint.h>

typedef enum Direction {
  Top = 1,
  Right = 2,
  Bottom = 3,
  Left = 4,
} Direction;

typedef struct Role {
  uint8_t sprite_id[2];
  uint8_t sprite_run[3];
  uint8_t sprite_run_status;
  uint8_t x;
  uint8_t y;
  Direction direction;
} Role;

void move_character(Role *character, uint8_t x, uint8_t y);

void initRole(Role *role, uint8_t x, uint8_t y);

#endif
